<layout name="master"/>
<ul class="breadcrumb no-border no-radius b-b b-light pull-in">
    <li><a href="index.html"><i class="fa fa-home"></i>货品管理</a></li>
    <li class="active">修改货品</li>
</ul>
<div class="m-b-md">
    <h3 class="m-b-none">修改货品</h3>
</div>
<div class="row">
    <div class="col-sm-12">
        <section class="panel panel-default">
            <header class="panel-heading font-bold">修改货品</header>
            <div class="panel-body">
                <form class="form-horizontal" method="post" action="">
                    <table id="MyStretchGrid" class="table table-striped datagrid m-b-sm">
                        <thead>
                        <tr>
                            <th>编号</th>
                            <!--颜色  尺码  需要循环出来，不是写死-->
                            <volist name="temp" id="vo">
                                <th>{$key}</th>
                            </volist>
                            <th>库存</th>
                            <th>货号</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>修改货品</td>
                            <volist name="temp" id="vo">
                                <td>
                                    <select name="combine['key'][]" class="form-control m-b">
                                        <option value="">请选择</option>
                                        <volist name="vo" id="n">
                                            <option value="{$n.gtid}" <if condition="$pps['0']['ax']['0']==$n['gtid'] || $pps['0']['ax']['1']==$n['gtid'] ">selected</if> >{$n.gtvalue}</option>
                                        </volist>
                                    </select>
                                </td>
                            </volist>

                            <td>
                                <input type="text" name="inventory" class="form-control" value="{$pps['0']['inventory']}">
                            </td>
                            <td>
                                <input type="text" name="number" class="form-control"  value="{$pps['0']['number']}">
                            </td>

                        </tr>
                        </tbody>
                    </table>
                    <div class="form-group">
                        <input type="text" hidden name="gid" value="{$pps['0']['gid']}">
                        <button type="submit" class="btn btn-twitter btn-block m-b-sm">提交</button>
                    </div>
                </form>
            </div>
        </section>
    </div>
</div>